<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录页面</title>
    <link rel="stylesheet" href="css/blog_login.css">
    <link rel="stylesheet" href="css/common.css">
    <!-- <link rel="stylesheet" href="css/a.css"> -->
</head>

<body>
    <!-- 这是导航栏 -->
    <div class="nav">
        <img src="image/log.jpg" alt="">
        <span>我的博客系统</span>
        <!-- 空白元素, 用来占位置 -->
        <div class="spacer"></div>
        <!-- <a href="blog_list.html">主页</a>
        <a href="blog_edit.html">写博客</a> -->
        <!-- 注销按钮没必要在登录页面展示 -->
        <!-- <a href="#">注销</a> -->
    </div>
    <div class="login-container">
        <form action="user/login" method="get">
            <div class="login-dialog">
                <h3>登录</h3>
                <div class="row">
                    <span>用户名</span>
                    <input type="text" id="username" name="username">
                </div>
                <div class="row">
                    <span>密码</span>
                    <input type="password" id="password" name="password">
                </div>
                <div class="row">
                    <!-- <button>提交</button> -->
                    <input type="submit" id="submit" value="登陆">
                </div>
                <div class="row">
                    <a href="blog_design.html" id="submit1" style="text-decoration: none;">注册</a>
                </div>
            </div>
        </form>
    </div>
    <style>
        .row a {
            width: 300px;
            height: 40px;
            border-radius: 10px;
            color: aliceblue;
            background-color: rgb(161, 225, 13);
            border: none;
            outline: none;
            text-align: center;
            margin-top: 60px;
            cursor: default;
            line-height: 3;
            font-size: 13px;
        }

        .row a:active {
            background-color: #666;
        }

        .login-dialog {
            width: 400px;
            height: 400px;
        }
    </style>

</body>

</html>